package com.ljx.recruitment.oss.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ljx.recruitment.oss.domain.entity.FileEntity;
import com.ljx.recruitment.oss.domain.vo.req.FileUploadReq;
import com.ljx.recruitment.oss.domain.vo.resp.FileResp;
import org.springframework.http.ResponseEntity;

public interface FileService extends IService<FileEntity> {
    FileResp upload(FileUploadReq req);

    ResponseEntity<byte[]> download(Long fileId);
}
